import React, { useState, useEffect, useRef } from 'react';
import { connect } from 'umi';
import styles from './index.less';
import { StandardEntityComponent } from 'enoad-component-web/dist/src';
/**
 * 标准实体具体展示某个实体信息。
 * @param props
 * @returns
 */
const StandardList = (props: any) => {
  const {
    dispatch,
    loading,
    match: { params },
  } = props;
  console.log("[StandardList]",props)
  return (
    <div className={styles.MainIndex}>
      <StandardEntityComponent
        apiKey={params.apiKey}
        hasBack={false}
        setStandardEntity={null}
      />
    </div>
  );
};
export default connect(({ loading }) => ({
  loading,
}))(StandardList);
